Python: Converting a nested Dictionary object into pandas dataframe